@import './variable.less';
@import './vantreset.less';
html,
body,
#app {
  height: 100%;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

html * {
  box-sizing: border-box;
}

html {
  overflow: hidden;
  // 禁用iPhone中Safari的字号自动调整
  -webkit-text-size-adjust: none;
}

body {
  -webkit-tap-highlight-color: transparent;
  /* 禁用长按页面时的弹出菜单(iOS下有效), img和a标签都要加 */
  -webkit-touch-callout: none;
  /*  局部滚动(仅iOS5 以上支持) */
  -webkit-overflow-scrolling: touch;
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', STHeiti,
    'Microsoft Yahei', Tahoma, Simsun, sans-serif;
}

:focus {
  /* 防止在获得焦点时, 出现边框 */
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

// 禁止缩放表单
input[type='“submit”'],
input[type='“reset”'],
input[type='“button”'],
input {
  resize: none;
  border: none;
  outline: none;
  outline: none;
}

.clearfix:after {
  content: '';
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

/*单行文本溢出 （设置宽度）*/
.oneline-text-cut {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/*多行文本溢出 （设置宽度）*/
.multiline-text-cut {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
